package org.web.abc.stockanalysis.server.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.web.abc.stockanalysis.server.domain.query.QueryStockBasic;
import org.web.abc.stockanalysis.server.domain.StockBasicDO;

@Mapper
public interface StockBasicDAO {

    StockBasicDO selectStockBasicByStockBasicId(Long stockBasicId);

    List<StockBasicDO> selectStockBasicList(QueryStockBasic queryStockBasic);

    Integer countStockBasicList(QueryStockBasic queryStockBasic);

    int insertStockBasic(StockBasicDO stockBasicDO);

    int updateStockBasicByStockBasicId(StockBasicDO stockBasicDO);

    int deleteStockBasicByStockBasicId(Long stockBasicId);

    List<String> selectDistinctList(QueryStockBasic queryStockBasic);

}